package com.rxyl.love.petdoctor.entity;

import java.util.List;

/**
 * Created by dd on 2016/1/21 0021.
 */
public class HospitalComment {

    /**
     * status : 10000
     * message : 成功
     * data : {"list":[{"id":21184,"comment_id":907,"uid":63,"nickname":"Qzone_5763016809","content":"很不错的一家宠物医院,我经常带我家狗狗去玩的,技术也不错.","score":10,"created":1419266364},{"id":21185,"comment_id":907,"uid":372,"nickname":"lghlghl","content":"松岗南方宠物诊所,医术,服务很好!!我家狗狗经常去那里洗澡,防疫等等","score":10,"created":1397626816},{"id":21182,"comment_id":907,"uid":449,"nickname":"魏俐嘉_1328","content":"冷的，医生还是很负责的，态度很好，很多人都在这光顾的，主要他们每个店员也都有自己的狗狗，所以能想象的到不会对狗狗不负责任的","score":10,"created":1390504906},{"id":21183,"comment_id":907,"uid":791,"nickname":"Jiaxuan_zhu","content":"真心不错，不会乱收费态度也不错，值得去光顾","score":8,"created":1405290213},{"id":28567,"comment_id":907,"uid":162936,"nickname":"丢丢她娘","content":"都说这家医院太坑了，你们还敢去啊？","score":2,"created":1441334814}],"total":6,"page":1,"page_size":5,"page_total":2}
     */

    private int status;
    private String message;
    /**
     * list : [{"id":21184,"comment_id":907,"uid":63,"nickname":"Qzone_5763016809","content":"很不错的一家宠物医院,我经常带我家狗狗去玩的,技术也不错.","score":10,"created":1419266364},{"id":21185,"comment_id":907,"uid":372,"nickname":"lghlghl","content":"松岗南方宠物诊所,医术,服务很好!!我家狗狗经常去那里洗澡,防疫等等","score":10,"created":1397626816},{"id":21182,"comment_id":907,"uid":449,"nickname":"魏俐嘉_1328","content":"冷的，医生还是很负责的，态度很好，很多人都在这光顾的，主要他们每个店员也都有自己的狗狗，所以能想象的到不会对狗狗不负责任的","score":10,"created":1390504906},{"id":21183,"comment_id":907,"uid":791,"nickname":"Jiaxuan_zhu","content":"真心不错，不会乱收费态度也不错，值得去光顾","score":8,"created":1405290213},{"id":28567,"comment_id":907,"uid":162936,"nickname":"丢丢她娘","content":"都说这家医院太坑了，你们还敢去啊？","score":2,"created":1441334814}]
     * total : 6
     * page : 1
     * page_size : 5
     * page_total : 2
     */

    private DataEntity data;

    public void setStatus(int status) {
        this.status = status;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public int getStatus() {
        return status;
    }

    public String getMessage() {
        return message;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity {
        private int total;
        private int page;
        private int page_size;
        private int page_total;
        /**
         * id : 21184
         * comment_id : 907
         * uid : 63
         * nickname : Qzone_5763016809
         * content : 很不错的一家宠物医院,我经常带我家狗狗去玩的,技术也不错.
         * score : 10
         * created : 1419266364
         */

        private List<ListEntity> list;

        public void setTotal(int total) {
            this.total = total;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public void setPage_size(int page_size) {
            this.page_size = page_size;
        }

        public void setPage_total(int page_total) {
            this.page_total = page_total;
        }

        public void setList(List<ListEntity> list) {
            this.list = list;
        }

        public int getTotal() {
            return total;
        }

        public int getPage() {
            return page;
        }

        public int getPage_size() {
            return page_size;
        }

        public int getPage_total() {
            return page_total;
        }

        public List<ListEntity> getList() {
            return list;
        }

        public static class ListEntity {
            private int id;
            private int comment_id;
            private int uid;
            private String nickname;
            private String content;
            private int score;
            private int created;

            public void setId(int id) {
                this.id = id;
            }

            public void setComment_id(int comment_id) {
                this.comment_id = comment_id;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public void setScore(int score) {
                this.score = score;
            }

            public void setCreated(int created) {
                this.created = created;
            }

            public int getId() {
                return id;
            }

            public int getComment_id() {
                return comment_id;
            }

            public int getUid() {
                return uid;
            }

            public String getNickname() {
                return nickname;
            }

            public String getContent() {
                return content;
            }

            public int getScore() {
                return score;
            }

            public int getCreated() {
                return created;
            }
        }
    }
}
